﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Chamberlain
{
    public partial class Login : Form
    {
        public Login()
        {
            InitializeComponent();
            EdtUsuario.Focus();
            
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            //if ((EdtUsuario ==)&&(EdtPass ==))
            Chamberlain f = new Chamberlain();
            f.Show();
            
            this.Enabled = false;
            this.Visible = false; 

        }

        private void Login_Load(object sender, EventArgs e)
        {
            EdtUsuario.Focus();
            
           
        }

        private void label4_Click(object sender, EventArgs e)
        {
            EdtUsuario.Clear();
            EdtPass.Clear();
        }

        
    }
}
